<template>
  <div>
    <van-list v-model="loading" :finished="finished" finished-text="没有更多了">
      <van-cell
        @click="cellClick(item)"
        v-for="item in tipslist"
        :key="item"
        :title="item"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [],
      loading: false,
      finished: true,
    };
  },
  props: ["tipslist"],
  methods: {
    cellClick(val) {
      console.log(val);
      this.$emit("callClick", val);
    },
  },
};
</script>
 
<style lang = "less" scoped>
</style>